package me.zhengjie.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 物料明细表
 * @TableName iws_material_transfer_detail
 */
@TableName(value ="iws_material_transfer_detail")
@Data
public class MaterialDetailDao implements Serializable {
    /**
     * 明细ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 关联的调拨单号
     */
    @TableField(value = "transfer_id")
    private String transferId;

    /**
     * 物料编号
     */
    @TableField(value = "material_code")
    private String materialCode;

    /**
     * 申请重量
     */
    @TableField(value = "material_weight")
    private Double materialNum;

    /**
     * 已发重量
     */
    @TableField(value = "issued_weight")
    private Double issuedWeight;
    /**
     * 未发重量
     */
    @TableField(value = "unissued_weight")
    private Double unIssuedWeight;

    /**
     * 物料名称
     */
    @TableField(value = "material_name")
    private String materialName;

    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;

    /**
     * 目标位置
     */
    @TableField(value = "target_location")
    private String targetLocation;

    /**
     * 新调拨单
     */
    @TableField(value = "new_code")
    private String newCode;

    /**
     * 可用库存
     */
    @TableField(value = "specs")
    private Double specs;

    @TableField(exist = false )
    private Integer page;

    @TableField(exist = false )
    private Integer size;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;




}